dump_syms="${1}/tool/MacOS/dump_syms"
app="${2}/${3}.app/Contents/MacOS/${3}"
dSYM="${2}/${3}.app.dSYM"
sym="${2}/${3}.app/Contents/MacOS/crashpad/syms/${3}.sym"
final_dSYM="${2}/${3}.app/Contents/MacOS/crashpad/syms/${3}.app.dSYM"

echo "${dump_syms} -g ${dSYM} ${app} > ${sym}"
eval "cp -r ${dSYM} ${final_dSYM}"
eval "${dump_syms} -g ${dSYM} ${app} > ${sym}"

